﻿function selectAll() {
    $("input[name='delid']").each(function () {
        $(this).attr("checked", true);
    });
}

function unselectAll() {
    $("input[name='delid']").each(function () {
        $(this).attr("checked", !$(this).attr("checked"));
    });
}

$(document).ready(function () {
    on_load();
});

function on_load() {
    var loadingmsg = $("#loadingmsg");
    var mainpage = $("#mainpage");
    loadingmsg.css("display", "");
    mainpage.css("display", "none");

    loadingmsg.css("display", "none");
    mainpage.css("display", "");
}

function redirecturl(url) {
    location.href = url;
}